package com.feicheng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author yang.yu
 * @since 2022-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PurchaseItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 采购体id
     */
    @TableId(value = "purchase_item_id", type = IdType.AUTO)
    private Integer purchaseItemId;

    /**
     * 采购订单id
     */
    private Integer purchaseHeaderId;

    /**
     * 产品类别
     */
    private String type;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 产品描述
     */
    private String description;

    /**
     * 采购单价
     */
    private Integer price;

    /**
     * 采购数量
     */
    private Integer num;


}
